// import { getAllRoleList } from '/@/api/demo/system';
import { BasicColumn } from '/@/components/Table';
import { FormSchema } from '/@/components/Table';

export const columns: BasicColumn[] = [
  {
    title: '订单单号',
    dataIndex: 'id',
    width: 120,
  },
  {
    title: '总金额',
    dataIndex: 'totalMoney',
    width: 120,
  },
  {
    title: '总数量',
    dataIndex: 'totalNumber',
    width: 200,
  },
  {
    title: '下单时间',
    dataIndex: 'createTime',
    width: 200,
  },
];

export const searchFormSchema: FormSchema[] = [
  {
    field: 'number',
    label: '分类编码',
    component: 'Input',
    colProps: { span: 8 },
  },
  {
    field: 'name',
    label: '分类名称',
    component: 'Input',
    colProps: { span: 8 },
  },
];
